<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="数据监控">
        <DeviceSprayfanlinkcameraMonitor :data="data" />
      </a-tab-pane>
      <a-tab-pane key="2" tab="数据历史">
        <DeviceSprayfanlinkcameraData :data="data" />
      </a-tab-pane>
      <a-tab-pane key="3" tab="告警数据">
        <DeviceSprayfanlinkcameraAlarm :data="data" />
      </a-tab-pane>
      <a-tab-pane key="4" tab="全局控制">
        <DeviceSprayfanlinkcameraConfigSwitch :data="data" />
      </a-tab-pane>
      <a-tab-pane key="5" tab="其他设置">
        <DeviceSprayfanlinkcameraConfigOther :data="data" />
      </a-tab-pane>
      <a-tab-pane key="6" tab="推送情况">
        <DeviceSprayfanlinkcameraConfigQueue :data="data" />
      </a-tab-pane>
      <a-tab-pane key="7" tab="固件升级">
        <DeviceSprayfanlinkcameraFirmwareUpgrade :data="data" />
      </a-tab-pane>

    </a-tabs>
  </div>
</template>

<script>
import DeviceSprayfanlinkcameraMonitor from './sprayfanlinkcamera-monitor.vue'
import DeviceSprayfanlinkcameraData from './sprayfanlinkcamera-data.vue'
import DeviceSprayfanlinkcameraAlarm from './sprayfanlinkcamera-alarm.vue'
import DeviceSprayfanlinkcameraConfigSwitch from './sprayfanlinkcamera-config-switch.vue'
import DeviceSprayfanlinkcameraConfigOther from './sprayfanlinkcamera-config-other.vue'
import DeviceSprayfanlinkcameraConfigQueue from './sprayfanlinkcamera-config-queue.vue'
import DeviceSprayfanlinkcameraFirmwareUpgrade from './sprayfanlinkcamera-firmware-upgrade.vue'
export default {
  name: 'DeviceSprayfanlinkcamera',
  components: {
    DeviceSprayfanlinkcameraMonitor,
    DeviceSprayfanlinkcameraData,
    DeviceSprayfanlinkcameraAlarm,
    DeviceSprayfanlinkcameraConfigSwitch,
    DeviceSprayfanlinkcameraConfigOther,
    DeviceSprayfanlinkcameraConfigQueue,
    DeviceSprayfanlinkcameraFirmwareUpgrade
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
